#include "Arduino.h"
#include "ColorSensor.h" //include the declaration for this class

ColorSensor::ColorSensor(int input) {
  pinMode(input, INPUT); 

  _inputPin = input;
}

ColorSensor::~ColorSensor() {

}

int ColorSensor::getValue() {
  return digitalRead(_inputPin);
}
